import BaseRequest from '../utils/http-request'

const api = new BaseRequest()

// 轮播图

export const getSwipeList = () =>
  api.get('/home/getSwipe')

// 滚动公告
export const getNoticeList = () =>
  api.get('/home/getNotice')

// 教务公告
export const getAnnounceList = () =>
  api.get('/announce')

// 课表
export const getClassList = (param?: {}) =>
  api.post('/home/getClass', param)


// 名人名言
export const getSayingList = () =>
  api.get('/home/getSaying')
